<%@page import="com.enterprise.daoImpl.FeedbackDaoImpl"%>
<%@page import="com.enterprise.domain.Feedback"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="Inc/Head.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	int id=Integer.parseInt(request.getParameter("id"));
	Feedback feedback=null;
	System.out.println(id);
	if(id!=0)
	feedback=(new FeedbackDaoImpl()).get(id);
	
	
 %>
 
 <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="top"> <br> <strong><br>
      </strong> <br> <br> <table width="560" border="0" cellpadding="2" cellspacing="1" class="table_southidc">
        <tr> 
          <td height="25" class="back_southidc"> 
            <div align="center"><strong>修改管理员公告<br>
              </strong></div></td>
        </tr>
        <tr> 
          <form method="post" action="<%=basePath %>feedback-update.action">
            <input type=hidden name=id value=<%=feedback.getId()%>>
            <s:token/>
            <td><div align="center"> 
                <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#ECF5FF">
                  <tr> 
                    <td width="16%" height="25" bgcolor="#A4B6D7"> <div align="center">公告标题:</div></td>
                    <td width="48%"> <input name="theme" type="text" id="theme" value="<%=feedback.getTheme()%>" size="35" maxlength="100"> 
                    </td>
                    <td width="13%"><div align="center">语言:</div></td>
                    <td width="23%"><select name="Language" id="Language">
                        <option selected="selected" value="0">中文</option>
                        <option  value="1">英文</option>
                      </select></td>
                  </tr>
                  <tr> 
                    <td height="22" bgcolor="#A4B6D7"> <div align="center">公告内容:</div></td>
                    <td colspan="3"><textarea rows="8" name="content" cols="45"><%=feedback.getContent()%></textarea> 
                    </td>
                  </tr>
                  <tr> 
                    <td height="25" colspan="4" bgcolor="#E3E3E3"> <div align="center"> 
                        <input name="submit" type="submit" value="确定">
                        &nbsp; 
                        <input name="reset" type="reset" value="从来">
                      </div></td>
                  </tr>
                </table>
              </div></td>
          </form>
        </tr>
      </table></td>
  </tr>
</table>

<%@ include file="Inc/Foot.jsp"%>